import { Get, Post } from "@/library/utils/request";

/**
 * 后台入口 - API请求路径
 */
export const PortalApiUrl = {
  Login: "/Portal/Login",
  GetConfigForAdmin: "/Portal/GetConfigForAdmin"
}

export const PortalApi = {
  /** 登录 */
  Login: (param: object) => {
    return Post(PortalApiUrl.Login, param);
  },
  GetConfigForAdmin: () => {
    return Get(PortalApiUrl.GetConfigForAdmin)
  },
}
